Skip to content

doc: decision record for #5815 security binding across adapters & relays - #7863

Merged
dezren39 merged 1 commit into
mainfrom
queue/13769-5815-security-binding
Nov 14, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/13769-5815-security-binding

Conversation

@developing-today

@developing-today developing-today Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Decision record for #5815 (security binding review across adapters & relays), matching the sibling record precedent of PR #7613 (#5811) and PR #7653 (#5813).

Chosen shape: all session security binds to the ID layer — origin signature, handshake transcript, and a local policy floor — never to the carrier.

  • Carrier-independent authenticity (TLS is additive, never load-bearing; id: design: Wire format & transport adapters — postcard schema, non-UDP carriers, relays/proxies #5674's rule given mechanism)
  • Transcript binding: negotiated version/carrier/relay-path/capabilities hashed into session key derivation + mutual confirmation
  • A non-negotiable security floor; adapters that cannot meet it are not offered
  • Replay protection per class: durable = idempotent origin-signed events; live = per-session sequence + MAC under transcript-derived keys; handshake/control = single-use nonces, signed expiring advertisements
  • Downgrade = classified security failure (security_downgrade_refused / transcript_mismatch), never a silent weaker retry
  • Relays cannot re-originate; purpose-separated domain labels for all signatures/MACs

Alternatives rejected with reasons (carrier TLS, per-adapter bespoke rules, warned downgrade, global replay window, hop-by-hop relay termination), 8 testable invariants, interface obligations on #5809/#5791/#5810/#5814/#5795 stated explicitly, and an explicit statement that no #5674 parent decision changes.

Doc-only change; no test suite applies (per task packet). Task 13769.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@developing-today
developing-today Bot requested review from a team and dezren39 as code owners November 8, 2026 23:59
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 85bf03fb-bb48-4f9e-b5a1-a3ead020f02e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39

Copy link
Copy Markdown
Member

Agent note — task 17280 claimed by lane any-d (PR shepherd pass)

@dezren39

Copy link
Copy Markdown
Member

Agent note — task 17280 merging PR #7863 (lane any-d)

@dezren39
dezren39 merged commit 78b2778 into main Nov 14, 2026
2 of 5 checks passed
@dezren39
dezren39 deleted the queue/13769-5815-security-binding branch November 14, 2026 22:06
@dezren39

Copy link
Copy Markdown
Member

Agent note — task 17280 DONE: PR #7863 merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant